package com.easyioc.config;

import java.util.HashMap;
import java.util.Map;

public class BeanDefinition {
	private String beanName;
	private String className;
	private Map<String, String> propDefMap = new HashMap<String, String>();

	public BeanDefinition() {

	}

	public BeanDefinition(String beanName, String className) {
		this.beanName = beanName;
		this.className = className;
	}

	public void addPropDef(String propName, String propValue) {
		propDefMap.put(propName, propValue);
	}

	public String getBeanName() {
		return beanName;
	}

	public void setBeanName(String beanName) {
		this.beanName = beanName;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public Map<String, String> getPropDefMap() {
		return propDefMap;
	}

	public void setPropDefMap(Map<String, String> propDefMap) {
		this.propDefMap = propDefMap;
	}
}
